/**
 * @File name : MyPermission.java
 * @Description : 
 * @Creator : haifeng17
 * @CreateTime : Mar 13, 2017 2:22:15 PM
 * @Version : 1.0
 * @Update records:
 *      1.1 Mar 13, 2017 by haifeng17: 
 *      1.0 Mar 13, 2017 by haifeng17: Created 
 * All rights served : XXX CORP.
 */
package com.ent.app.bms.util;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.session.Session;


public class MyPermission {
    /**shiro管理的session
     * @return
     */
    public static Session getSession(){
        //Subject currentUser = SecurityUtils.getSubject();  
        return SecurityUtils.getSubject().getSession();
    }
}
